import { ProfileEntity } from "./ProfileEntity";
import { BaseEntity } from "./baseEntity";

export const UserFields = `
    id
    updateAt
    createAt
    account
    name
    role
    profileId
    token
    hash_key
`

export interface UserEntity extends BaseEntity {
    account: string;

    name: string;

    role: number;

    hash_key: string

    profile: ProfileEntity

    profileId: number;

    token?: string
}